package cn.IT.Nf.Test.Dao;

import cn.IT.Nf.Test.Entity.Staffs;

import java.util.List;
import java.util.Map;

public interface StaffsDao {
    Object[] selectObject(int id);
    List<Object[]> selectObjectList();
    Staffs selectId(int id);
    List<Staffs> select();
    List<Map<String, Object>> selectAll();
    Map<String, Object> selectById(int id);
    String selectNameById(int id);
    long count();
    List<String> selectName();
    int insert(Staffs staffs);
    int update(Staffs staffs);
    int delete(int id);
}
